package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcRfidReaderGroup;
import com.csun.cmny.provider.model.dto.rfid.RfidReaderGroupDto;
import com.csun.cmny.provider.model.dto.rfid.RfidReaderGroupQueryDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcRfidReaderGroupMapper extends Mapper<DmcRfidReaderGroup> {

    /**
     * query rfid reader group not bind alarm light
     *
     * @param groupId the group id
     *
     * @return the list
     */
    List<DmcRfidReaderGroup> queryNotBindAlarmLight(@Param("groupId") Long groupId);

    /**
     * query rfid reader group list with page
     *
     * @param rfidReaderGroupQueryDto the rfid reader group query dto
     *
     * @return the list.
     */
    List<RfidReaderGroupDto> queryListWithPage(RfidReaderGroupQueryDto rfidReaderGroupQueryDto);

    /**
     * select rfid reader group dto by rfid reader id
     *
     * @param rfidReaderId the rfid reader id
     *
     * @return the rfid reader group dto
     */
    RfidReaderGroupDto selectByRfidReaderId(Long rfidReaderId);
}